package com.gxa.core.recycling.pojo;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Author xhy
 * @Date 2021/11/29 11:20
 */
@Data
/*@ToString(exclude = {"salt","longType","lastLoginTime",""})*/
@NoArgsConstructor
@AllArgsConstructor
//周期上门表
@Table(name = "getcycle")
@Entity
public class GetCycle implements Serializable {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;
    @Column(name = "cycle")
    //周期
    private Integer cycle;
    @Column(name = "weekNum")
    //星期几
    private String weekNum;
}
